﻿using System;
using System.Runtime.Serialization;

namespace Peak.Core
{
  public class StoryFilter 
  {
    public int Page { get; set; }
    public int? PageSize { get; set; }    
    public string QuickFilter { get; set; }
    public int ProjectId { get; set; }
    public int? SprintId { get; set; }
    public FilterStoryStatus Status { get; set; }    
    public SortDirection SortDirection { get; set; }    
    public StorySortOrder SortOrder { get; set; }
    public bool? AssignedToSprint { get; set; }

    public StoryFilter()
    {
      Page = 0;
      PageSize = 20;
    }
  }
}